﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YCMS.Domain.Entities;
using YCMS.Domain.Concrete;

namespace YCMS.Domain.Abstract
{
    public interface IDockRepository
    {
        EfDbContext Context { get; set; }
        IQueryable<Dock> Docks { get; }
        void InsertDock(Dock dock);
        void Save();
        Dock GetDockById(int id);
        void UpdateDock(Dock dock);
        void DeleteDock(Dock dock);
    }
}
